package com.zenithmind.common.constant;

/**
 * 公共常量类
 */
public class CommonConstants {
    
    /**
     * 通用状态
     */
    public static final int STATUS_DISABLED = 0;  // 禁用
    public static final int STATUS_ENABLED = 1;   // 启用
    
    /**
     * 权限类型
     */
    public static final int PERMISSION_TYPE_MENU = 1;    // 菜单
    public static final int PERMISSION_TYPE_BUTTON = 2;  // 按钮
    public static final int PERMISSION_TYPE_API = 3;     // API
    
    /**
     * 安全相关
     */
    public static final String TOKEN_PREFIX = "ZenithMind ";  // Token前缀
    public static final String USER_ID_HEADER = "X-User-Id";  // 用户ID请求头
    public static final String USER_ROLES_HEADER = "X-User-Roles"; // 用户角色请求头
    
    /**
     * 分页默认值
     */
    public static final int DEFAULT_PAGE_NUM = 1;        // 默认页码
    public static final int DEFAULT_PAGE_SIZE = 10;      // 默认每页数量
    public static final int MAX_PAGE_SIZE = 100;         // 最大每页数量
} 